/*
 * AxisPrototype.cpp
 *
 *  Created on: Oct 23, 2009
 *      Author: Ry
 */

#ifdef WIN32
#include <windows.h>
#endif

#include <GL/glew.h>
#include "world/AxisPrototype.h"

AxisPrototype::AxisPrototype() {}

void AxisPrototype::draw() {
	glDisable(GL_LIGHTING);
	glBegin(GL_LINES);

	// Render the X axis
	glColor3f(1, 0, 0);
	glVertex3f(0, 0, 0);
	glVertex3f(1, 0, 0);

	// Render the Y axis
	glColor3f(0, 1, 0);
	glVertex3f(0, 0, 0);
	glVertex3f(0, 1, 0);

	// Render the Z axis
	glColor3f(0, 0, 1);
	glVertex3f(0, 0, 0);
	glVertex3f(0, 0, 1);

	glEnd();
	glEnable(GL_LIGHTING);
}

AxisPrototype::~AxisPrototype() {}
